import request from '@/http/http'

/**
 * 获取操作日志列表
 * @param params 查询参数
 * @returns 操作日志列表
 */
export const getOperationLogs = async (params: any) => {
    console.log(`准备获取操作日志列表, 参数:`, params);
    return request({
        url: 'BaseDataReadAPI/OperationLog/GetLogs',
        method: 'GET',
        params
    })
} 

//导出日志
export const exportOperationLogs = async () => {
    return request({
        url: 'BaseDataReadAPI/OperationLog/ExportOperationLog',
        method: 'POST'
    })
}
